<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php load_theme_textdomain('nucleo'); ?>
<head>
<meta http-equiv="Content-Type" 
	content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title>
<?php 
	printf(__("%s &raquo; Comments on '%s'",'nucleo'), 
		get_bloginfo('name'), the_title('','',false)); 
?>
</title>

<?php include (TEMPLATEPATH . '/include/links-style.php'); ?>
<?php include (TEMPLATEPATH . '/include/links-script.php'); ?>
</head>

<body id="comments-popup" class="comments yui-cssbase">

<?php // Don't remove these lines. 
	add_filter('comment_text', 'popuplinks');
	if ( have_posts() ) : the_post();
?>

<?php if ( $_GET['action'] != 'submit' || isset($_GET['err']) ) : ?>

<h1><?php printf(__("Leave your comments on <br/>'%s'",'nucleo'),the_title('','',false)); ?></h1>
<?php include (TEMPLATEPATH . '/include/entry-comment-form.php'); ?>

<?php else : ?>

<h1><?php _e('Thank you!','nucleo'); ?></h1>

<p><?php _e('We are pleased for your comments.','nucleo'); ?></p>
<p><?php _e('They will be analised and answered by email, as soon as possible.','nucleo'); ?></p>

<form>
<div class="button">
<input type="button" name="close" id="close" tabindex="1" 
	value="<?php _e('Close this window','nucleo'); ?>" 
	onclick="window.close()" />	
</div>
</form>
<?php endif; ?>

<?php // Don't remove these lines. 
	endif; 
?>
</body>
</html>
